// camera
export function toogleScreenSpaceCameraController(
    enabled,
    viewer = window.cesiumViewer
) {
    const { screenSpaceCameraController } = viewer.scene
    Object.assign(screenSpaceCameraController, {
        enableInputs: enabled,
        enableLook: enabled,
        enableRotate: enabled,
        enableTilt: enabled,
        enableTranslate: enabled,
        enableZoom: enabled,
    })
}
